$(".control-image").hover(
	function () {
		var typeTest = $(this).attr("data-typeTest");

		var disrection = ($(this).attr('class').charAt(0) == "h") ? "horizontal" : "vertical"

		switch(arrayTest[typeTest].observation){
			case 0:
				$(this).attr("src", "Images/" + disrection + "/line_highlight.PNG");
				break;
			case 1:
				$(this).attr("src", "Images/" + disrection + "/noline_highlight.PNG");
				break;
			default:// case 2:
				$(this).attr("src", "Images/" + disrection + "/dot_highlight.PNG");
				break;											
		}// witch

		ChangeDisplay(typeTest, arrayTest[typeTest].observation);
	},
	function () {
		var typeTest = $(this).attr("data-typeTest");

		var disrection = ($(this).attr('class').charAt(0) == "h") ? "horizontal" : "vertical"

		switch(arrayTest[typeTest].observation){
			case 0:
				$(this).attr("src", "Images/" + disrection + "/line.PNG");
				break;
			case 1:
				$(this).attr("src", "Images/" + disrection + "/noline.PNG");
				break;
			default:// case 2:
				$(this).attr("src", "Images/" + disrection + "/dot.PNG");
				break;											
		}// witch

		ResetDisplay();
	}
);